package com.bupt.dto.network;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@EqualsAndHashCode
@Data
public class FiberLinkDto implements Serializable {
   private String id;
   private String name;
   private String code;
   private Node sourceNode;
   private Node targetNode;
   private Integer year;
   private Integer serviceLength;
   private long length;
   private long xxsl;
   private String asfs;
   private Integer faultTime;
   private Double aveAttenua;
   private Double xxsh;

    public FiberLinkDto(String id, String name, String code, Node sourceNode, Node targetNode, Integer year, Integer serviceLength, long length,
                        long xxsl, String asfs, Integer faultTime, Double aveAttenua, Double xxsh) {
        this.id = id;
        this.name = name;
        this.code = code;
        this.sourceNode = sourceNode;
        this.targetNode = targetNode;
        this.year = year;
        this.serviceLength = serviceLength;
        this.length = length;
        this.xxsl = xxsl;
        this.asfs = asfs;
        this.faultTime = faultTime;
        this.aveAttenua = aveAttenua;
        this.xxsh=xxsh;
    }
}
